package com.woniuxy.springdataredis.service;

import com.woniuxy.springdataredis.entity.User;

import java.util.List;

/**
 * description: UserService <br>
 * date: 2022/1/6 1:16 下午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */
public interface UserService {
    //查询所有的用户
    public List<User> findAll();

    //以用户ID查询
    public User findById(int id);

    //以ID删除用户
    public boolean delById(int id);
}
